package com.zy.cat.entity.dev.garden.resp;


import java.util.ArrayList;
import java.util.Arrays;
import java.util.Date;
import java.util.List;

import javax.persistence.Column;

import org.apache.commons.lang3.StringUtils;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;

import lombok.NoArgsConstructor;

/**
 * 
 * @info 领取水果详情信息实体类
 * @author xiake
 * @date 2020-08-26 17:06
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel("领取水果详情信息")
public class CatTreeDetailResp {
	
	@JsonIgnore
	@ApiModelProperty(value = "用户ID")
	private String pid = "";
	
	@ApiModelProperty(value = "果树Id", example = "果树Id")
	private Integer treeId;
	
	@ApiModelProperty(value = "果树名称", example = "果树名称")
	private String treeTitle = "";

	@ApiModelProperty(value = "果树内容", example = "果树内容")
	private String treeContent = "";

	@ApiModelProperty(value = "果树图片", example = "")
	private String treeUrl = "";
	
	@ApiModelProperty(value = "果树成熟状态(0、未成熟，1.已成熟)", example = "1")
	private Integer treeStatus;
	
	@JsonIgnore
	@ApiModelProperty(value = "查询类型(0.全部记录、1.个人记录)", example = "20")
    private Integer type;

	public CatTreeDetailResp(String pid) {
		super();
		this.pid = pid;
	}
	
	public CatTreeDetailResp(Integer treeId) {
		super();
		this.treeId = treeId;
	}	

	public CatTreeDetailResp(Integer treeId, String pid) {
		super();
		this.treeId = treeId;
		this.pid = pid;
	}

	public CatTreeDetailResp(String pid, Integer treeStatus) {
		super();
		this.pid = pid;
		this.treeStatus = treeStatus;
	}
	
}
